Bug in WAL backup documentation - Mailing list pgsql-patches

From Bernd Helmle
Subject Bug in WAL backup documentation
Date
Msg-id AC6FCC7BB26C6B4ACC1D2272@[172.26.14.247]
Whole thread Raw
Responses Re: Bug in WAL backup documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Our WAL backup documentation says in some parts of it:

..."%p is replaced by the absolute path of the file to archive..." [1]

I think this is (at least for 8.1 and upcoming 8.2 releases) wrong, since
the archiver
replaces this with pg_xlog/<LOGFILENAME> only, so that the archive command
is invoked with the relative path to the database data directory and its
xlog files. This
applies to the restore_command as well. Attached is a small patch against
HEAD, which
will adjust things in the documentation.

[1]
http://www.postgresql.org/docs/8.1/interactive/backup-online.html#BACKUP-ARCHIVING-WAL

--
  Thanks

                    Bernd

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Micro-doc patch for CREATE FUNCTION
Next
From: Tom Lane
Date:
Subject: Re: Bug in WAL backup documentation